







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Removes a range of items at the given index in the Deque. All items at indexes
greater than index move down count indices
in the Deque.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public void RemoveRange( int index, int count ) |
Visual Basic (Declaration) |
---|
Public Sub RemoveRange ( _ index As Integer, _ count As Integer _ ) |
Visual C++ |
---|
public: void RemoveRange ( int index, int count ) |
Parameters
- index
- Int32
The index in the list to remove the range at. The first item in the list has index 0.
- count
- Int32
The number of items to remove.
Remarks
The amount of time to delete count items in the Deque is proportional
to the distance to the closest end of the Deque:
O(Min(index, Count - index - count)).
Exceptions
Exception | Condition |
---|---|
System..::ArgumentOutOfRangeException | index is less than zero or greater than or equal to Count, or count is less than zero or too large. |
See Also
Deque<(Of <T>)> Class
Wintellect.PowerCollections Namespace